import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
// import header from '@/page/header.vue'
// import footer from '@/page/footer.vue'
import pageIndex from '../page/pageIndex.vue'
import centerSprite from '../page/centerSprite.vue'
import article from '../page/article.vue'
import studyList from '../page/stduyList.vue'
import studyVideo from '../page/studyVideo.vue'
import report from '../page/report.vue'
import heart from '../page/heart.vue'


import redian from '../page/redian.vue'
import dongtai from '../page/dongtai.vue'
import president from '../page/president.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'pageIndex',
      component: pageIndex
    },{
      path:"/centerSprite",
      name:'centerSprite',
      component:centerSprite
    },
    {
      path:"/article",
      name:'article',
      component:article
    },
    {
      path:"/studyList",
      name:'studyList',
      component:studyList
    },
    {
      path:"/studyVideo",
      name:'studyVideo',
      component:studyVideo
    },
    {
      path:"/report",
      name:'report',
      component:report
    }
    ,
    {
      path:"/heart",
      name:'heart',
      component:heart
    },
    {
      path:"/redian",
      name:'redian',
      component:redian
    },
    {
      path:"/president",
      name:'president',
      component:president
    }
    ,
    {
      path:"/dongtai",
      name:'dongtai',
      component:dongtai
    }
  ]
})
